package com.zxx.pattern.iteratorPattern.iterator2;

/**
 * @author zxx on 2021/4/8
 */
public interface Iterator2 {

    boolean hasNext();  //是否还有下一个对象

    Object next();

}
